package com.wanmait.movie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
* Created by Mybatis Generator 2023/11/30
*/
@Data
@TableName(value = "order_details")
@Accessors(chain = true)
public class OrderDetails implements Serializable {
    /**
     * 订单明细id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单表id
     */
    @TableField(value = "order_id")
    private String orderId;

    /**
     * 座位id
     */
    @TableField(value = "seat_id")
    private Integer seatId;

    /**
     * 单张票价格
     */
    @TableField(value = "money")
    private Double money;

    private static final long serialVersionUID = 1L;

    public static final String COL_ORDER_ID = "order_id";

    public static final String COL_SEAT_ID = "seat_id";

    public static final String COL_MONEY = "money";
}